home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / RIncludes / Palettes.r < prev    next >
Encoding:
Text File  |  1998-08-17  |  1.2 KB  |  46 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Palettes.r
  3.  
  4.      Contains:    Palette Manager Interfaces.
  5.  
  6.      Version:    Technology:    Mac OS 8
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1987-1993, 1995-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __PALETTES_R__
  19. #define __PALETTES_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. /*----------------------------pltt • Color Palette--------------------------------------*/
  26. type 'pltt' {
  27.         integer = $$CountOf(ColorInfo);                         /* Color table count    */
  28.         fill long;                                                /* Reserved                */
  29.         fill word;                                                /* Reserved                */
  30.         fill long;                                                /* Reserved                */
  31.         fill long;                                                /* Reserved                */
  32.         wide array ColorInfo {
  33.             unsigned integer;                                    /* RGB: red                */
  34.             unsigned integer;                                    /*        green            */
  35.             unsigned integer;                                    /*         blue            */
  36.             integer        pmCourteous, pmDithered, pmTolerant,    /* Color usage            */
  37.                         pmAnimated = 4, pmExplicit = 8;
  38.             integer;                                            /* Tolerance value        */
  39.             fill word;                                            /* Private flags        */
  40.             fill long;                                            /* Private                */
  41.         };
  42. };
  43.  
  44. #endif /* __PALETTES_R__ */
  45.  
  46.